package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.OrderShipments;
import com.example.mall.dto.OrderShipmentsDto;
import com.example.mall.query.OrderShipmentsQuery;
import com.example.mall.query.PageDTO;

import java.util.List;


/**
 * <p>
 * 订单物流表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-09
 */
public interface IOrderShipmentsService extends IService<OrderShipments> {

    // 分页查询订单物流表信息
    PageDTO<OrderShipmentsDto> queryPage(OrderShipmentsQuery orderShipmentsQuery);

    // 根据id查询订单物流表信息
    OrderShipments queryOrderShipmentsById(Long shipmentId);

    // 查询全部订单物流表信息
    List<OrderShipments> queryOrderShipmentsList();

    // 修改订单物流表信息
    void update(OrderShipmentsDto orderShipmentsDto);
    // 删除订单物流表信息
    void delete(Long shipmentId);
    // 批量删除订单物流表信息
    void deleteBatch(List<Long> shipmentIds);
    // 新增订单物流表信息
    void insert(OrderShipmentsDto orderShipmentsDto);
}
